<template>
  <div class="check-all">
      <i
        class="iconfont"
        :class="
          isChecked ? 'icon-yduifuxuankuangxuanzhong' : 'icon-yduifuxuankuang'
        "
        @click="Checked()"
      ></i>

  </div>
</template>
 
<script>
export default {
  props: ["isChecked","item"],
  data() {
    return {};
  },
  methods: {
   Checked(){
    //    console.log(this.item);
        this.$emit("check",this.item)
   }
    
  }
};
</script>
 
<style lang = "less" scoped>
</style>